#ifndef __CAMERA_UI_H__
#define __CAMERA_UI_H__
#include <stdbool.h>
#include "common.h"


//
void ui_deinit_init_camera(void* hWnd);
int sdcardformat_back(void *arg, int param);
void ui_set_white_balance(int i);
void ui_set_exposure_compensation(int i);
void cmd_IDM_frequency(char i);
void changemode(void* hWnd, int mode);
void cmd_IDM_CAR(void* hWnd, char i);
void startrec(void* hWnd);
void stoprec(void* hWnd);

void cmd_IDM_VIDEO_QUALITY(void* hWnd, unsigned int qualiy_level);
void cmd_IDM_DEBUG_VIDEO_BIT_RATE(void* hWnd, unsigned int val);

int getSD(void);

#ifdef __cplusplus
extern "C" {
#endif
void start_motion_detection();
void stop_motion_detection();
#ifdef __cplusplus
}
#endif

#endif
